cmake_minimum_required(VERSION 3.22)
project(untitle_ C)

set(CMAKE_C_STANDARD 99)

include_directories(${PROJECT_SOURCE_DIR}/include)

# 递归查找所有 .c 文件（包括 src/ 下的子目录）
file(GLOB_RECURSE SRC_FILES
        "${PROJECT_SOURCE_DIR}/src/*.c"
        )

# 生成可执行文件
add_executable(untitled_1107 ${SRC_FILES})
